Add Fibonacci function, improve writing measured data.