Updated class with math for medical info