Style: please use the lowercase convention for variable name instead of the mixed-case convention. In this case that would mean `thetaL_vec`. I don't like the parameter name `thetaL` itself but it's too late to change.