Adjusting for octaves correctly in transpose