Text this: A Kalman-Filter-Based Sine-Cosine Algorithm