Median Filter Temporal Model Implemented

To be tested profundely