Found error. Not all diagonal entries got populated