Add inverse_spd function to math/matrix.