restructure sources
start implementing the actual fpc sum stat
complete 2-d version of fpc sum stat