fixed typos, improved comments, removed redundant np.arrray constructors, added scipy may be faster comment