Saving random positions

fixes #655