updated calcDestCoord

made it so it will take a row or column and determine the destination
coordinate