Change recursive fibonacci method to fast doubling method.