comments added and code variables name changes (m -> Inverse)