A Spectroscopic and Photometric Study of 1H0542-407: A New Magnetic Variable