Updated call from arange to createRange and modified all methods to use
dataset interface