Converted stuff from xd to 3d
Added ann and edited makefile to compile it, also added some useful
comments and function stubs
Added a few more methods and drafted out skeleton for the algorithm