Block Averaging added.