Implemented 3d sparle array and unittests
Added AOT compilation and platform option to makefile