Tools to make NumPy more like Matlab