added getters to math classes