Maximum Likelihood Estimation of Parameters in State-Space Models