improved the performance of the Mann-Kendall test by calculating only its change when a new datapoint is added; switched debug build optimization to GCC 4.8's new -Og
added the -Wpedantic switch to the compiler flags; removed an extra semicolon that caused a warning when compiling with -Wpedantic