def build_rotation_matrix(azim, plng, rake):
    """
    Returns the rotation matrix that rotates the North vector to the line given 
    by Azimuth and Plunge and East and Up vectors are rotate clock-wise by Rake
    around the rotated North vector.