initial commit of prediction calculations