Lightly grease a pan with vegan margarine. Place all ingredients, except for nuts, in a double boiler. Place over simmering water and stir until smooth. Add nuts (if desired) and pour mixture into prepared pan. Chill.