Fixed errors in MKLWrapper