Wrote down description of problem 2
Added particle and swarm struct
Added outline for particle velocity and position update
Added meat in calculate velocity method
Added update velocity
Simplified code, removed structs
Added lambda functions for particle calculation
Ah.
Added map function for calculation of position
Adds particle velocity and position calculations.
Added introspection of supplied function to pso.
Finished basic algorithm, left to add loop while x.
Finished algorithm.