Using proper Makefile from MASTER branch
Added (commented) option to enable usage of doubles
Switched over to abstract data type (TYPE instead of double, default TYPE == float)