Merge branch 'graphite-query'
Add min value algorithm 

Starting for some new algorithms for going over
data.
fold/avg: Handle first element
fold/avg: Working function