made a little funtion in main to translatep point
fixed the translation function, works. It is in main and need to seperate it out tomorrow
need to fix indices of the function
merge conflict