ENH: Added the ability to add an ac-pc transform. Corrected error messages