Implement four common activation functions from scratch using basic PyTorch tensor operations (no torch.nn module).