Cleaned up and fixed incorrect function specs
Merge pull request #16 from chrisyunker/master

Cleaned up and fixed incorrect function specs