complete fix for #432, fixing writer to call transform with tests for inf, fixing commmand spelling