Processes finalization, vectors sum and result output.