Signal and Image Alignment during the Application of Functional Data Analysis. Practical Examples of Chemometrics and Biometrics