added cofidence interval and tex font rendering