first revision of the plotting macro and small changes to the analyze macro to get the RAA for different methods