A is easy
something wrong with matrix fastexp