Added same_polarity feature
Range was off by one for some features
Finished duration_difference feature