Used Matrix to determine new coordinates