fixing bug with importing numpy when scipy isn't present