Added rough pixel map location calculation

Roughly calculates where the detector pixel map is located. Not tested.