took out flat bottom well usage of rstr. This was causing HUGE performance problems (like 200%). This needs to all get replaced by direct calls to AMBER, but the details of that need to be worked out...