Declare missing dependencies for f2py wrapper

Variables holding the array length depend on the array.