Much stuff added

Check tests\ocr_pso_test