Reduce sum using Variational Inference algorithm

Hello,

Thank you for your answer. I did not check any other stan-csv-reading functions yet, but it seems like a good idea. I am a new member here, there is still much to learn.

I created a separate question in this forum about a speed of read_stan_csv function. Also, as you suggested, I submitted a bug report about an error using threads in variational inference.