A method to define profile modification of spur gear and minimize the transmission error