Square and log functions fixed