Fix recursive calculation of mass inverse matrix