- Instead of using the logistic map equation, the sine function equation x(i+1) = r(j)*sin(x(i)) is used
- The Lyapunov calculation has been updated to lyap = lyap + log(abs(r(j)*cos(x(i)))) based on the derivative of the sine function.
- sin: https://www.mathworks.com/help/matlab/ref/sin.html
- cos: https://www.mathworks.com/help/matlab/ref/double.cos.html