NCDL: A Framework for Deep Learning on non-Cartesian Lattices