average price to rewire a 3 bedroom house