Addressed pseudo-inverse issues