Optimised sample clipping routine:
- the branch replaced with ternary operator which gives weird speed gain on my system
- commented out current seemingly overoptimised version and replaced by straight comparisons with the limits (this is also a bit faster for me but at least the reason is clear)