implemented gaussian distribution for totCA rand_line