Added function for calculating arbitrary fibonacci numbers