Singularity analysis and performance indexes for parallel manipulators