[SciPy-user] array vs matrix, converting code from matlab