Change % operator behaviour for woking with integers and numbers mixed. Add linspace function to util library.