Performance Analysis and Optimization of Parallel Manipulators