c++ LU reduction is closer; P has some issues still, but the sizes match