Your profile looks really brilliant. It's weird you are rejected by those phd programs... Also, do you know if UBC offers funding to master student? I am a junior in computer science and statistics at Waterloo. Feel free to ask me any question about Waterloo.