Fix typos: rename funtion to function
Merge pull request #31 from spl/patch-1

Fix typos: rename funtion to function