Modeling M3 RR Lyrae light curves