Modified to compile with mkl libraries and the intel compiler on Vayu