Fixed fibonacci functions to prevent short, int, and long overflow.