Text this: Theory, implementation, and simulated examples of a Maximum-Likelihood Parameter-Estimation algorithm for state-space systems with coloured measurement noise