Made Changes so it would compile on sharcnet