library: blend_parameters_linear avg whole arrays

It seems that splitting arrays into valid sections of at least 4 samples
is a requirement for blend_parameters_cubic and not linear. Fixes
aligning errors as alignment should only occur within superframe
boundaries.