Registered all math gates