Avoid using sinf() (which is C99) in favor of sin()
Also replace cosf() (C99) with cos()
Merge pull request #13 from bluegr/master

Avoid using sinf() (which is C99) in favor of sin()