Creating a Restriction Map (updated)

Fixed the algorithm.  It is now working, deterministic, and much
quicker.  Closes #4.