Extended least squares and their applications to adaptive control and prediction in linear systems | Synapse