Modifications to the wall collision algorithm to fix a problem where it was uncertain as to if the avatar was colliding with the floor or the wall.
Fixed a problem with the AlignAvatarOnLastAvatarCollisionBlock() function which wasn't taking the avatars direction into account.