added getEndTick

gets the end tick of the note