Document template args

Add documentation for remaining template arguments in unaryFun and binaryFun.