Clean up hartreeFock.m and add verification option.

Signed-off-by: acappiello <acappiel@andrew.cmu.edu>