Added get and set methods for profileMatrix class