Added badlar table, iv calculations