Use built-in solver instead of manually inverting for A