using now defines instead of getters for size
added fancy type conversion for neighbourhood

Should make accessing stuff much faster
added some arguments for profiling