Representation converter for monitored scalar
The idea behind this merge was to allow the user to perform calculations on the raw data and at very last moment apply some function/coefficient that will reflected on the graph. So I added optional parameter to the Scalar constructor which now accepts std::function
which will be used to convert data during getVectorRepresentation
phase.