Makefile updated to handle CUnit linkage.
Gate class now handles updates and receives a function pointer for evaluation of its output.