Sheriff: Calif. gunman killed 3 people at home