Added an example on how to use the function.
Changed the include gard
Changed the signature of the function to use std::vector instead of
point3d*
Changed the example to use std::vector