use boost pointers for spots
change name of gauss hermite file