changed all float vars to cgfloat, as apple methods expect cgfloat, not float
Merge pull request #1 from elwerene/64bitfix

fixed bug on 64bit ios