reduce sum working
moved sum reduce code class
now handles float arrays (accuracy issues to be investigated, needs to be benchmarked)
added sum error to shared matting demo