Constructor initializes mass