Linear system slver