formatting; label percept and attribute terms in feature function
fix compile errors