Rename TwoBandObjective to more general PatternObjective

modified:   objectives/shapes.py