Updated Boolean Method in Element Class

Updated the ToBool() method to take a reference. A rather small and
insignificant change but it follows the established pattern of
populating references.