Safety calculator

Progress…