Modify det_manip to access determinant x_values and y_values