added current gibbsC code and test code for it.