fix segmentation fault due to typo in 0 fill for Tt_a initialization; change nullptr to NULL; now validated for both mac and linux