Improve sincosGenerator