Exercise material for this section.
Vectorize computation of pi
Vectorize the filling of an histogram