Micro-effeciency with variable declaration

Decided to combine some of the variable Dims together.