Added constructor for profile matrix class