Form calcuation not calculating expected values