Fixed sin() and cos() error in iOS 6 by changing deployment target from 7.0 to 5.0