Checking ending coordinate, trimming to last nt / last bin, restructuring of checking functions
Updated testing to consider too large ending coordinates