fixing some c++ issues and adding distortion