Implemented trinaryIf for in/output CollOfScalar
Implemented trinaryIf for CollOfIndices
Implemented Gradient
Implemented Divergence operator
Added class CollOfVector based on CollOfScalar