Analysis of the Term Structure of Major Currencies Using Principal Component Analysis and Autoencoders