Script is working good!

Solved problem with two peaks for a classical signal, solved problem
with 59 to 60 interval length, solved problem with trs.ann - now
everything saves properly. Also removed (moved it to a new file --
BED_import.R) part of the script related to BED importing.