Corrections to DenseInstances allocation

Addressing some points in #79.