Recovery of fats, fatty oils, or fatty acids from waste materials