added mean lines and fixed alignment of dots in resampling module.