Performance improvements, avoinding unnecessary maps
Reflection and math warnings
Dimensions definition; get-neighbour; get pixel improvements
Kernel improvements