aver_techreps function

Compute average intensity