Merge pull request #7 from nvcHilary/master

Indentation fix, partial block comment on code
moving out sql_function
Merge pull request #8 from nvcWilson/wil7