Add custom error return when in calculateBaseline we know beforehand we receive error e.g. array out of bounds. Also let calculateBaseline return array element were calculation went wrong, or -1 if no problems. This so we can start at returned value with function compareSequences