updated and corrected -- now compiles
Function to run fully integrated updated latent class clustering model. All itterations handled in single c++ function.