cleaned algebra file