Bug fix: get working w/intel compiler and use mkl properly.

Resolves APS-54.