calculates the conditional sum of integer vector entries
function conditionalSumInt input Integer vec[:]; input Boolean con[:]; output Integer conSum; end conditionalSumInt;