Developing quality indicator

I was able to remove part of the noisy data including some filters based
on imposible conditions. But there are still some remaining problems....