This project contains:
Be sure to read the full discussion on the blog post at http://formaldev.blogspot.com/2012/09/T-SQL-NORMDIST-1.html before using this code.