Created functions for the user's stats.
  - calculate the body mass index
  - calculate the daily requirement needs

Changes to views.py are incomplete.