inherit lapack/blas dependencies from numpy

slight PEP 8 refactoring (moving imports to top of file)

Also modified all extension links so that they explicitly link in BLAS and LAPACK.