Eliminates zeros from data - starting from the first non-zero element, ending at the last non-zero element. More specifically:
Example:
Given data: [0,0,0,1,2,0,3,0,0,4,0] result of applying ZeroEliminator is: [0,0,0,1,2,2,3,3,3,4,0] if isAlignToLeft is true; [0,0,0,1,2,3,3,4,4,4,0] - otherwise
@author Marcin Rzeźnicki