first commit of vray sample calculator