Changed calculateCpp to classes
changed indexes in findCpp.m
New functions added and fixed bugs