Can't debug a picture!
Problem seems to be that you like to use inline evaluations. By this I mean that you follow a definition immediately by an evaluation (=) like
x:=<calculatong term>= ...
While this is allowed it can sometime lead to unexpected and undesired results. Ist better to separate definition and evaluation:
One region: x:=<calculatong term>
and in a second region the evaluation x = ...
I guess that if you evaluate q in your sheet you would see a nice table (but with columns and rows exchanged).
Here is what I was talking about

Prime is not good in creating nice row and column headers and while its allowed to have quantities in different dimensions/units in one matrix, you are not allowed to change the units inside of the matrix and are restricted to the default units. Which means that you would see the time in seconds and not in years, etc.
Therefore in the following table I removed the units completely

Worksheet (P9) attached