Fixed plotting bug and added phi and theta to lda