Added Euler's totient/phi function.
Added matrix trace