fixed pseudo-inverse