Parameters
X lines
Y lines
Z lines
mval: ival: