Added the function for calculation of female risk. Declared some
variables local (since global by default).