least-squares cf. state-space models