changed dat to x to be more like princomp
created predict method of lsvd per #2