Fixed null DDProperties reference in DimData

Fixed null DDProperties reference in DimData. Changed the code so that
it requests an instance in each of its functions instead of relying on
loading a reference when it's first instantiated. I'm not sure how the
null references are slipping through, that shouldn't be possible.
Merge pull request #17 from SenseiKiwi/master

Fixed null DDProperties reference in DimData