Fixed median
Fixed median function
Fixed median
Cleaning up
Fixed git started