Added numpy availibility check.