numpy vs eigen with inverse matrix