minor changes
refactored the computation of already computed sources + common sources for input channels