Producing effective masses from correlator and operator values and plotting them