Fixes core regression (compare expressions to strings), and lambdify using deprecated scipy functions vs numpy functions. Changelog: https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5.1 No known breaks. Sage should be fine @timokau