added stack_alloc::bytes_allocated and test
added bytes allocated test to softmax test