matrix power implementation of fibonacci