Modelling Percieved Musical Structure