linear algebra: lu decomposition in c#