Update CalcMedia.java

some mistakes