Basic body density/body fat percentage calculator in Ruby