Numpy Array Check Dimensions In Reading