add median absolute deviation (MAD)
upgrade to Visual Studio 2012
Merge pull request #1 from samuelbosch/master

Added the median absolute deviation (mad)