Merge pull request #14 from dschreij/master

Fixed some critical syntax errors
Merge remote-tracking branch 'upstream/master'
Fixed invalid get_pos