Implementation of the male risk calculation function. This gives the same result as the open source code available on the qrisk2 svn repo.