Calculations of second-order TDHF equations for ammonia