Add .* method for NNLayer