Fixed bug in functions_migration.R
Was returning dataframe as stats table - this made synlik very slow - converted the returned stats table to matrix - synlik back to normal rate.