Made calculation methods private and made public properties readonly.