Changed calculations for fps and memory