Reaktorfysik, modellering och säkerhet