Add random search and pso for optimizing classifier parameters
Fix small bugs after changes