Improved methodology for the automated classification of periodic variable stars: Automated classification of periodic variable stars