Added function for height computation to class Asteroid.