Starting to sound plausible? Going to add the function to give more weight to more note-heavy measures as the generation goes on.