Fixes in functions_migration.R and changes to code.
Merge branch 'master' of https://github.com/kseth/SynWood

Conflicts:
	functions_migration.c