reflect function

Perform a mathematical reflection of coordinates over a specified axis