Update Analyzer.cs

Updated Median function to return the correct value.