added vector module calculation function
added median filter function (beta)
added median calculation function of a table (beta)
added x move calculation function (beta)