starting to get the nearest neighbor stuff working for expansion,
need vector classes badly.