Changed functionality of getGrossValue and added getValue. Added and fixed documentation