Made a function in the base unit class that will return a vector of the
inner components.