Added method to inspect the size of the stack. Added test for softmax checking that all elements were allocated to the correct stack.