blarg. code failing all over the place. almost certainly an algo implementation problem. not sure if it makes sense to start over or not, using the utility methods that are already there. fuuucccckkkk