Bug fixes for FixedThreshold class: Wrong arguments were getting passed to constructor.