An investigation into fingerprint reference point localization and classification for biometric applications