Moved the content from arpack.h into linalg.h
Fixed typo in random_permutation()