Random Number Macro Fix

Assigning a value to a NULL pointer. This modifies an earlier fix for a
warning about type-punned values that GCC was emitting.
Merge commit 'f88772726efc4d95916f32947c14dec46255afaf' into PW_Synthetic_Building
Can now take an RDF and match it for precipitate phases. Need to improve accuracy of match, but looks ok by eye.