Man sentenced for cruelty to dog