finished beat track gen function

now supports n/16 time sigs