added long exponent support to fibonacci