Minor fixes, raise readability of code, add measuring.

Improve the readability of the existing code and do some minor bug-
fixes. Add the possibility for measuring the running time of the
functions.
Add Matrix class for new Fibonacci function.