issue381, multicache for cBioGen

Like I said, can you tip me for performance test ? 
And am I duplicating code ? 

You need to delete the pointers here. And you don't need to clear the vector, its destructor does that.