Added x(), y(), cx(), cy() and matrix