Updates to code to use MKL