some cleanup of the lda plotting syntax and added some graph function to lda.r