Delete calculateR.m