Dynamical Threshold for a feature detector Neural Model