fixed typo in spd doctest and fixed errors in tri_spd __pow__ example