Added controlLaw.cpp