Compute minimum peak

1. apply pseudo code
2. create compute_map and node_mem in new method
The code below doesn't do that.  The plan is to make it do that eventually, but right now it doesn't.