initializing stimdata.r