New material with ferroelectricity and ferromagnetism may lead to better computer memory