add some multi-threaded
multi-thread sum and min
Multi-threaded naive median, not fully tested
Multi-thread all median()