Fix for Coverity fix for latLontoProjRect().

Need to allocate objects to go into array as well as array itself.