Made HF code pull matrix elements in a less dumb way.  Code is now faster and
more well commented.