Declare missing dependencies for f2py wrapper

Variables holding the array length depend on the array.
Merge pull request #445 from cgohlke/patch-2

Declare missing dependencies for f2py wrapper