Trims on %5 of max value now. Added basic noise removal