A central limit theorem for correlated variables with limited normal or gamma distributions