Added methods to take in 4 floats instead of arrays