Calculate utility/cons ahead of time.
Working example.  Need to add some tests/Better plotting.