[ADD] use of list to remove spikes and calculate median.