faster lfit (with scatter)