unified to padding aware version

remove test code (no longer needed and won't compile)
remove padding_layer and its test
remove cuda_timer as is no longer needed