Added getMass function to Unity