import numpy as np
DIMENSION_ERROR = "Don't understand number of dimensions (expected 2, got %s)"
SPARSE_ERROR = "This matrix is marked as sparse. It is too complicated for this poor computer :("
DTYPE_ERROR = "Expected 64 bit (8 byte) floating point data, but got %s. Change the 'dtype' input parameter"
def load_spbin(filename, dtype="