Revert "PieceCountVars function-factory done"

This reverts commit 211cde5ef2399ad00e8972c1c5db7c2ce6fb8b7c.

Conflicts:
	siemens2014/src/driver.js
	siemens2014/src/sam.jar