Fixed core.sq_dist() to work with ndarrays along with matrices (although the latter is being phased out).