jalali.py: clean, fix style and remove unnecessary calculations