added isConstant check
IntensityFunctions now allows to create a supplier for sine intensity function