added basic energy detector grid using pyublas and numpy