added bubble profile plot for intermediate checking (will remove it after the code is fully tested, though maybe I'll keep it as an option)