Riverside's Thomas Garrigan commits to Anderson