Add derived array size to Fibonacci example.

While there, add boilerplate for casts to the compiler.