Fixed match result calculations, added home advantage