Made algorithms composable. fkPSO is now working.