+ Added cs180functions. Handles patching and computation of average patch. Getting average patch currently causes system to crash.