Saving and reading done,
Vector to array