recursive least square algorithm