STIMARTDETECT now accepts slope and/or amplitude thresholds as input