Calculate fibonacci numbers.