Significant optimisations for the polar shapelets