Simple utility for generating periodic sequences on an arc
Bug fix.