deleted now unused reduce functions in algebra