Bugfix -- multiple regions

Only the last region was being used in the fitting process.