Fix to rhythm function - added units to first parameter in convert-length function