intensity grid and flux implementation, read ReadMe_JB