added policy explanation function

still needs to be integrated into the GUI
fixed typo