fix minor bug in LogExpression, add init() method to Context, relax pow evaluation.