Code has been tested up to 30kHz center aligned using the LUTs for the sin,cos, atan and vector_angle.