Update to network hashps calculation

Option now to sample based on the last X amount of blocks