Php Add Two Arrays Numpy Mean Function In R