Unsupervised Orientation Learning Using Autoencoders