Refactor, fix issue with some sample workspaces

Some workspaces have differing numbers of array elements for X, Y and E
values, just choose the samllest and trim the longer arrays

Refs #7860