Reduce file size of exposure cube and enhance response validity check.

The method hasreponse() now checks whether a response object has been allocated AND whether the response object is valid. Before, only the allocation was checked.