Added ability for ZRANK to have tied values