higly optimized allan variance calculator