See blog post at http://formaldev.blogspot.com/2012/09/T-SQL-NORMDIST-1.html