completed focus

Focus measurement completed with Parallel and fixed bugs in calcualting
Standard Deviation.