Refactoring, added epsilon
Added 'sample interval' title to sample interval selector