distance to origin for each point saved to file
removed scipy import