added Parameter class to accept float values

For a threshold parameter (between 0 and 1) I missed a `FloatParameter`.