Reinventing the wheel : write your own fast sine function