Technology and Modern Trends in the Teaching of Mathematics and Natural Sciences