Code compiles on ifort now, fixed a bug in the matrix test which was giving a seg fault