Changed the rapidity formula since it works better and faster to not hardcode it.