How best to arrange a group of 6 numerical input fields, one text field, and 3 radio buttons?

I have a GUI form with multiple group boxes. One of the group box has 6 numerical input fields each with an average input length of 3 or 4 digits, one text field with an average input length of around 8 characters, and 3 radio buttons. The 6 numerical input fields are conditional on 2 of the 3 radio buttons.

I am trying to figure out the best way to lay these out. I thought about making a 2x3 grid of the 6 numerical input fields and the text input field above the grid, and the 3 radio buttons to the left of the grid. The labels would either go above the input fields or to the left.

Is there a better way?