added least sq initializer and kf constructor