created a few wrapper functions for cpts. layed-out the ve-pr1 algorithm. need to change a few things with sum-out- and multiplication-function to get this to work. (cleaner api for factor multiplication and summing out is needed here)