Added TypeError for wrong input of mathematic operations