Tidied algorithm component code
Added helper methods to case classes for storing sequences of scored and
weighted particles
Implemented ScoredParticles and WeighedParticles case classes more
widely into Generation and AlgorithmComponent