new 1,2,3-dimensional array, removed superfluous function declarations

This pull request introduces a 1, 2 and 3-dimensional array template object in `src/headers/array.h`. The underlying datastructure is a linear array. All old arrays, based on pointer lists, have been replaced. The default test case runs almost 10% faster.

Superfluous function declarations in source files have been removed. A header file with function declarations is automatically generated (in `objects/funcdefs.h`) by the `src/gen_funcdefs.h` script. Saves roughly 5000 lines of code.