Bugfix: Was using incorrect numpy function to compute rank. Use more points (N>4) when computing r1.
Bugfix: Was using incorrect numpy function to compute rank.
Use more points (N>4) when computing r1.

erickim555/cs268_ucla,erickim555/cs268_ucla