Add the options 'first-day' and 'no-extra-rows'.

The first-day attribute sets the first day of the week.
The no-extra-rows attribute disables adding empty rows to the calendar.

BTW, I check what happens when a value greater than 6 is entered, and it gets into an infinite loop. Probably it would be nice to set the value to 0 if it's greater to 6.