sort to return x,y,z frequencies
added overwrite option
whoops get array logic right
added 3d log orbit