clean up in dimer
using lambdas to clean up some dimer functions
removing 1-d random access from Matrix_base (which is strictly unnecessary)
Merge branch 'master' of https://github.com/shiozaki/BAGEL

Conflicts:
	src/dimer/dimer.cc