Optimized if statement for appending the correct dimensional layout

Reduced number of ORs to a single check, only (currently) dealing with
1 sensor that only has 1 dimension.