Eliminated some unneeded classes (e.g. MixedLayerCorrection, triangle
intersection), and added better documentation to several classes.