work-in-progress tensors for convolutional networks
some fixes