Added implementation of magnetization statistics with arbitrary masks for calculation of total, material, height and material-height properties.
Added code to calculate maximum height in unit cell for offset calculation.