implement tensor compartment

Create a Tensor class based on BaseCompartment. The Tensor class takes inputs:

  1. bvec: applied gradient direction
  2. bval: the b-value
  3. axial and perpendicular diffusivities

It outputs the signal.

The axial diffusivity is assumed to the along the z-axis ([0,0,1]).

Edited by Zhi Liang Daniel Kor