Fixed NPeriods bug in matlab versions for geometryScheme=10
Merge branch 'master' of github.com:landreman/sfincs