segmentation factor added; set to 1 for now
segmentation implemented, proceed for testing
few additional improvements
segmentation could be now externally set
few optimisations + histogram reduction kernel added
reduction bug found
Merge branch 'segmented'
reduction is now working
small optimisations
normalisation kernel updated
normalisation is done
Merge branch 'reduction'