add numeric robust version for least mean square