Networks with Learned Unit Response Functions