cllt: add geometry class
cllt: wrote diagnostic code and found the linspace(1,2n+/-1,n) bug, code now seems to be working