Copying over and enabling lots of LatVol code.