Changed sincos detection mechanism