Update fann2.i

Added more robust type checking for array of arrays.
Merge pull request #2 from ksuszka/patch-1

Fixed type/size checking for array of arrays.