Added classification functions from NBTdev closes #69