WPF Chart POW and CUMSUM Functions