upload prelim codes gcrma.R
(edited from other gcrma function in source codes repos)