Cleaned up pow1 and pow2. Added matrix multiplication, matrix algorithm for fibonacci sequence.