Removing redundant x1, y1, z1 variables

Deleted lines 178-182