Implemented the backend of the structure.mean user function.
This primarily occurs within the internal structural object in the new mean() method. The
pipe_control.structure.main.mean() function simply checks if the current data pipe is correctly set
up and then calls the structural object mean() method.