Fixed and-or stuff. Changed grind method. Fixed epsilon stuff. closes #6