Adding median filtering function for 32bits data (double)