Calculate Fibonacci up to input variable